export default (state) => {
    let num = Number(state);
    if (isNaN(num)) {
        return '未填写'    
    }
    switch(num) {
        case 1:
            return '男';
        case 2:
            return '女';
        case 0:
            return '保密';
    }
    return '未知';
}